Input system and input method

ABSTRACT

Provided is an input system including an instruction device; a detection device that detects an instruction position of the instruction device; a display device that is provided separately from the detection device and that displays an image of a space; a position detector that detects, in the space, a line-of-sight position in a line-of-sight of the position detector; a processor; and a memory storing instructions, which when executed by the processor, cause the processor to set, in the space, an instruction target area including a reference position of the instruction device, based on the line-of-sight position detected by the position detector at the time of reception of a predetermined operation by the instruction device, and control the display device to display the instruction position of the instruction device in the instruction target area and on the image of the space.

BACKGROUND Technical Field

The present disclosure relates to an input system and an input method.

Background Art

There is a conventionally known digital ink system that can input ink data describing a set of strokes, through a writing operation of an instruction device including a stylus. There may be a case in which, for example, written content is displayed on a section different from a writing section, according to a writing operation of a user.

In a technique disclosed in Japanese Patent Laid-Open No. 2013-125487, a two-dimensional virtual plane is set on a three-dimensional space, and then a stroke written on the virtual plane is immediately displayed on a display apparatus that a user can wear.

A virtual space including various objects can be displayed, and the user can simulate an experience of leaving writing in the space. However, the virtual plane is set and then fixed as it is in the technique disclosed in Japanese Patent Laid-Open No. 2013-125487. The written content is thus sometimes displayed on a section different from that intended by the user, posing a problem that the input operability of the user is lost.

BRIEF SUMMARY

The present disclosure has been made in view of the problem, and an object of the present disclosure is to provide an input system and an input method that can improve input operability of a user in an apparatus configuration in which a detection device that detects an instruction position of an instruction device and a display device that displays an image of a space are separately provided.

A first aspect of the present disclosure provides an input system including an instruction device; a detection device which, in operation, detects an instruction position of the instruction device; a display device provided separately from the detection device, wherein the display device, in operation, displays an image of a space; a position detector which, in operation, detects, in the space, a line-of-sight position in a line-of-sight of the position detector; a processor; and a memory storing instructions, which when executed by the processor, cause the processor to set, in the space, an instruction target area including a reference position of the instruction device, based on the line-of-sight position detected by the position detector at the time of reception of a predetermined operation by the instruction device, and control the display device to display the instruction position of the instruction device in the instruction target area and on the image of the space.

A second aspect of the present disclosure provides an input method in an input system including an instruction device; a detection device that detects an instruction position of the instruction device; a display device provided separately from the detection device and that displays an image of a space; and a position detector which, in operation, detects, in the space, a line-of-sight position in line-of-sight of the position detector, the input method including setting, by one or more processors, in the space, an instruction target area including a reference position of the instruction device, based on the line-of-sight position detected by the position detector at the time of reception of a predetermined operation by the instruction device; and controlling, by the one or more processors, the display device to display the instruction position of the instruction device in the instruction target area and on the image of the space.

According to the present disclosure, the input operability of the user is further improved in the apparatus configuration in which the detection device that detects the instruction position of the instruction device and the display device that displays the image of the space are separately provided.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an overall configuration diagram of an input system according to an embodiment of the present disclosure;

FIG. 2 is a flow chart related to an input action of the input system illustrated in FIG. 1;

FIG. 3 depicts an example of a virtual space displayed on a wearable device;

FIG. 4 depicts an example of a data structure of an area definition table;

FIG. 5 depicts a transition of a three-dimensional (3D) image over a period from before to after a pen-down operation;

FIG. 6 depicts a correspondence between a pen coordinate system and a virtual coordinate system;

FIG. 7 depicts a transition of a 3D image over a period from before to after a pen-up operation;

FIG. 8 depicts a correspondence between the pen coordinate system and a detection coordinate system; and

FIG. 9 is a schematic diagram related to a correction action in which a state quantity of a tablet is taken into account.

DETAILED DESCRIPTION

An embodiment of the present disclosure will now be described with reference to the attached drawings. To facilitate the understanding of the description, the same reference signs are provided as much as possible to the same constituent elements in the drawings, and the description may not be repeated.

[Configuration of Input System 10]

FIG. 1 is an overall configuration diagram of an input system 10 according to an embodiment of the present disclosure. The input system 10 is a “digital ink system” that can input ink data describing a set of strokes, through a writing operation using an instruction device. Specifically, the input system 10 includes a wearable device 20 as a mode of a display device, a stylus 30 as a mode of an instruction device, and a tablet 40 as a mode of a detection device.

The wearable device 20 is a portable display apparatus that a user U can wear. Specifically, the wearable device 20 includes a housing 21, a display panel 22 (corresponding to a “display device”), a line-of-sight sensor 23 (corresponding to a “position detector”), a processor 24 (corresponding to a “processor”), and a communication circuit 25.

The housing 21 includes a frame for holding electronic parts and a fixation member for fixing the frame to the head of the user U. The display panel 22 can display an image or video, and the display panel 22 can be, for example, a liquid crystal panel, an organic electro-luminescence (EL) panel, or electronic paper. The line-of-sight sensor 23 includes, for example, an infrared sensor, and detects the physical quantity (for example, eye movement) correlated with the line of sight of the user U.

The processor 24 includes arithmetic processing units including a central processing unit (CPU), a micro-processing unit (MPU), and a graphics processing unit (GPU). The processor 24 reads and executes programs stored in an unillustrated memory to control the display of an image, execute various calculations necessary for controlling the display, and control the transmission and reception of data.

The communication circuit 25 includes a communication interface which, in operation, transmits electrical signals to and receives electrical signals from an external apparatus. This allows the wearable device 20 to exchange various kinds of data to and from the stylus 30 or the tablet 40.

The stylus 30 is an electronic pen that can perform one-way or two-way communication with the tablet 40. The system of the electronic pen may be either one of an electromagnetic resonance (EMR) system and an active electrostatic (AES) system. For example, in a case of the AES system, the stylus 30 includes a pen pressure sensor 31, an inertial measurement unit (hereinafter, “first IMU 32”), a micro control unit (hereinafter, “MCU 33”), and a communication circuit 34.

The pen pressure sensor 31 is, for example, a pressure sensor with a variable capacitor that detects a change in capacitance generated by press of a pen tip. The pen pressure sensor 31 can detect not only the pen pressure, but also a pen event including pen-down or pen-up of the stylus 30.

The first IMU 32 is, for example, a measurement circuit including a combination of a three-axis gyro sensor and a three-direction acceleration sensor. Thus, the first IMU 32 can measure the state of the apparatus on a pen coordinate system 60 described later (see FIGS. 6 and 8) or the state quantity indicating the time variation of the state. The state quantity includes various physical quantities, such as position, velocity, acceleration, jerk, angle, and angular velocity, used for specifying the position and the posture.

The MCU 33 is a control unit including a processor that can control the action of the stylus 30. For example, the MCU 33 performs various operations related to the calculation of the instruction position of the stylus 30 and also controls the transmission and reception of data including results of the operations. In one or more embodiments, the MCU 33 include a processor and a memory storing instructions that, when executed by the processor, causes the MCU 33 to perform the operations described herein.

The communication circuit 34 is an integrated circuit which, in operation, performs wireless communication with external apparatuses according to various communication standards including Bluetooth (registered trademark). Thus, the stylus 30 can exchange various kinds of data with the wearable device 20 or the tablet 40 through the communication circuit 34.

The tablet 40 is an apparatus that can detect the instruction position of the stylus 30, and the tablet 40 may or may not have a display function. Various detection devices including a smartphone and a personal computer may be used in place of the tablet 40. The user U can hold the stylus 30 with one hand and move the stylus 30 while pressing the pen tip against a touch surface 41 of the tablet 40, to write pictures or letters on the display surface of the wearable device 20.

The tablet 40 includes sensor electrodes 42, a touch integrated circuit (IC) 43, a CPU 44, a communication circuit 45, and a second IMU 46. The second IMU 46 may not be included if not necessary.

The sensor electrodes 42 are a set of electrodes that can detect a change in capacitance generated by approach or contact of a conductor. The detection system of the capacitance may be either one of the mutual-capacitance system and the self-capacitance system. For example, in a case of the mutual-capacitance system, the sensor electrodes 42 include a plurality of X line electrodes for detecting an Xd-axis position of a detection coordinate system 80 (see FIG. 8) and a plurality of Y line electrodes for detecting a Yd-axis position.

The touch IC 43 is an integrated circuit that drives and controls the sensor electrodes 42. The touch IC 43 drives the sensor electrodes 42, based on a control signal supplied from the CPU 44. In this way, the touch IC 43 performs a “pen detection function” of detecting the state of the stylus 30 or a “touch detection function” of detecting a touch of a finger of the user U or the like.

The CPU 44 can read and execute programs stored in an unillustrated memory to execute various functions including, for example, generation of ink data and control of transmission and reception of data. Note that various arithmetic processing units including an MPU and a GPU may be used in place of the CPU 44.

The communication circuit 45 is an integrated circuit which, in operation, performs wireless communication with external apparatuses, according to various communication standards including Bluetooth (registered trademark), similarly to the communication circuit 34. Thus, the tablet 40 can exchange various kinds of data with the wearable device 20 or the stylus 30 through the communication circuit 45.

The second IMU 46 is, for example, a measurement unit including a combination of a three-axis gyro sensor and a three-direction acceleration sensor, similarly to the first IMU 32. Thus, the second IMU 46 can measure the state quantity related to the position and the posture of the apparatus on the detection coordinate system 80 described later (see FIG. 8).

[Action of Input System 10]

The input system 10 according to the present embodiment is configured in this way. Next, an input action of the input system 10 will be described with reference to a flow chart of FIG. 2 and with reference to FIGS. 3 to 7.

<Basic Action>

At S1 of FIG. 2, the input system 10 displays a virtual space 50 in a mode that allows visual recognition by the user U. Specifically, the processor 24 of the wearable device 20 controls the display of the display panel 22 to display an image or video representing the virtual space 50.

FIG. 3 depicts an example of the virtual space 50 displayed on the wearable device 20. The virtual space 50 three-dimensionally represents a virtual room. Various objects are provided in the room including structures, such as a ceiling, a floor, walls, and a closet, and furniture, such as a bed, a table, and a chair.

At S2 of FIG. 2, the input system 10 checks whether or not a pen-down operation of the stylus 30 is received. Specifically, the MCU 33 of the stylus 30 determines whether or not the pen pressure state has changed from “OFF” to “ON,” based on a detection signal of the pen pressure sensor 31. If the pen-down operation is not detected (S2: NO), the input system 10 stays at S1 until the operation is detected. On the other hand, if the pen-down operation is detected (S2: YES), the input system 10 proceeds to S3. Note that the wearable device 20 may directly acquire the detection result of the stylus 30 or may indirectly acquire the detection result through the tablet 40.

At S3, the input system 10 specifies objects (hereinafter, “virtually recognized objects”) visually recognized by the user U at the time of the pen-down operation detected at S2. The processor 24 of the wearable device 20 first detects a line-of-sight position 52 (see FIG. 5) in a line-of-sight of the line-of-sight sensor 23 worn by the user U, based on a detection signal of the line-of-sight sensor 23, and then specifies objects in the virtual space 50 that are on the line of sight. In specifying the visually recognized objects, the processor 24 may refer to an area definition table illustrated in FIG. 4, for example.

FIG. 4 depicts an example of a data structure of the area definition table related to the virtual space 50 of FIG. 3. The area definition table includes data in a table format indicating a correspondence between [1] “object identification (ID)” that is identification information of the object in the virtual space 50, [2] “occupied region” occupied by the object, [3] “base vectors” of the coordinate system of the object surface, and [4] “reference coordinates” indicating the origin of the coordinate system.

The processor 24 first detects the line-of-sight position 52 in the line-of-sight of the line-of-sight sensor 23 worn by the user U, based on the detection signal of the line-of-sight sensor 23, and calculates a line-of-sight vector on the virtual space 50. The processor 24 then refers to the area definition table illustrated in FIG. 4, to determine whether or not the line-of-sight vector intersects the occupied region associated with each object. When there is a corresponding object, the object is specified as a “visually recognized object.” Although an ID is allocated to each object in the example of FIG. 4, an ID may be allocated to each surface of an object with a plurality of surfaces.

At S4 of FIG. 2, the input system 10 (more specifically, the processor 24) determines whether or not the visually recognized object specified at S3 is the same as the visually recognized object specified last time. If the visually recognized object is the same as the visually recognized object specified last time (S4: YES), the input system 10 proceeds to S5. On the other hand, if the visually recognized object is different from the visually recognized object specified last time (S4: NO), the input system 10 proceeds to S6.

In the case where the input system 10 (more specifically, the processor 24) proceeds to S5, the input system 10 sets an instruction target area 74 (FIG. 6) corresponding to the visually recognized object specified at S3, that is, the line of sight of this time. Specifically, the processor 24 refers to the area definition table of FIG. 4 and sets a planar instruction target area 74 in a virtual coordinate system 70 (FIG. 6). For example, in a case where the ID of the visually recognized object is OB0001, the processor 24 sets a reference position 72 (FIG. 6) with coordinate values (Xy1, Yv1, Zv1), as a “center point” of the instruction target area 74, sets two base vectors (Ex1↑, Ey1↑) as “plane vectors” of the instruction target area 74, and sets the remaining base vector Ez1↑ as a “normal vector” of the instruction target area 74.

In the case where the input system 10 (more specifically, the processor 24) proceeds to S6, the input system 10 sets the same instruction target area 74 as at S5 or S6 at the time of the latest execution of the flow chart, that is, the same instruction target area 74 as the last time. In addition, the processor 24 displays the virtual space 50 after switching the point of view so that the instruction target area 74 comes to the front of a display area displayed the display device.

FIG. 5 depicts a transition from a 3D image 50 a to a 3D image 50 b over a period from before to after the pen-down operation. More specifically, an upper drawing illustrates the 3D image 50 a obtained before the pen-down operation, and a lower drawing illustrates the 3D image 50 b obtained after the pen-down operation. For example, the 3D image 50 a is switched to the 3D image 50 b when the pen-down operation is performed with the line-of-sight position 52 in the line-of-sight of the line-of-sight sensor 23 worn by the user U at the door of the closet. The 3D image 50 b corresponds to a two-dimensional image in which the point of view is switched so that the door of the closet (that is, the instruction target area 74) comes to the front.

At S7 of FIG. 2, the input system 10 performs a drawing process on the virtual space 50, according to a pen move operation of the user U. The stylus 30 first sets the position of the apparatus at the time of the pen-down operation to an origin Op of the pen coordinate system 60 and then sequentially acquires the state quantity measured by the first IMU 32. Then, the wearable device 20 directly acquires data including the state quantity from the stylus 30. Alternatively, the wearable device 20 may indirectly acquire the data from the stylus 30 through the tablet 40.

The processor 24 then converts the state quantity of the stylus 30 according to a predetermined conversion rule and sequentially adds the state quantity obtained after the conversion, to thereby calculate the instruction position on the virtual space 50. Hereinafter, a time series of the amount of movement will be used to describe an example of calculating the instruction position on the virtual coordinate system 70, with reference to FIG. 6.

The pen coordinate system 60 on the upper side of FIG. 6 is a three-dimensional Cartesian coordinate system including an Xp-axis, a Yp-axis, and a Zp-axis and is uniquely defined by the stylus 30. For example, when a pen-down position 62 of the stylus 30 is the origin Op, m↑(t) represents the amount of movement (three-dimensional vector) of the stylus 30 on the pen coordinate system 60 at t-th time.

On the other hand, the virtual coordinate system 70 on the lower side of FIG. 6 is a three-dimensional Cartesian coordinate system including an Xv-axis, a Yv-axis, and a Zv-axis and is uniquely defined by the wearable device 20. Here, a rectangular area indicated by a dashed line corresponds to the instruction target area 74 set based on the reference position 72. Pv(t) is sequentially calculated according to Pv(t)=Pv(t−1)+A·m↑(t) where Pv(t) represents the instruction position on the virtual coordinate system 70 at t-th time.

Here, A corresponds to an affine matrix (three rows×three columns) for converting the pen coordinate system 60 into the virtual coordinate system 70. The affine matrix A is uniquely defined if the pen coordinate system 60 and the virtual coordinate system 70 are known. For example, the affine matrix A may be stored in advance in association with the object or the object surface or may be calculated every time the instruction target area 74 is set.

Then, the processor 24 controls the display panel 22 to superimpose a mark on the calculated instruction position in the currently displayed virtual space 50. This action is sequentially performed to superimpose a trajectory (that is, a stroke) of marks, such as dots, on the virtual space 50.

At S8 of FIG. 2, the input system 10 checks whether or not a pen-up operation is detected. Specifically, the MCU 33 of the stylus 30 determines whether or not the pen pressure state has changed from “ON” to “OFF,” based on the detection signal of the pen pressure sensor 31. If the pen-up operation is not detected (S8: NO), the input system 10 sequentially repeats S7 and S8 until the operation is detected. On the other hand, if the pen-up operation is detected (S8: YES), the input system 10 proceeds to S9.

At S9, the input system 10 (more specifically, the processor 24) cancels the instruction target area 74 set at S5 and S6. In addition, the processor 24 displays the virtual space 50 in which the previous point of view is restored.

FIG. 7 depicts a transition from a 3D image 50 c to a 3D image 50 d over a period from before to after the pen-up operation. More specifically, an upper drawing illustrates the 3D image 50 c obtained before the pen-up operation, and a lower drawing illustrates the 3D image 50 d obtained after the pen-up operation. For example, the 3D image 50 c is switched to the 3D image 50 d when the pen-up operation is performed after one stroke is finished. The 3D image 50 d corresponds to an image in which one stroke is written on the 3D image 50 a of FIG. 5.

Subsequently, the input system 10 returns to S1 and sequentially performs one of S1 to S9. In this way, the action of the input system 10 is continued, and the user U can simulate an experience of leaving the writing in the virtual space 50.

<Advantageous Effects of Basic Action>

As described above, the input system 10 according to the embodiment includes the stylus 30; the tablet 40 that detects the instruction position of the stylus 30; the display panel 22 provided separately from the tablet 40 and configured to display the image of the space (here, the virtual space 50); the line-of-sight sensor 23 that detects, in the virtual space 50, the line-of-sight position 52 in the line-of-sight of the line-of-sight sensor 23 worn by the user U; and one or a plurality of processors (here, the processor 24). The processor 24 sets, in the virtual space 50 , the instruction target area 74 including the reference position 72 of the stylus 30, based on the line-of-sight position 52 detected by the line-of-sight sensor 23 at the time of the reception of a predetermined operation by the stylus 30 (S5 and S6 of FIG. 2), and controls the display panel 22 to display the instruction position of the stylus 30 in the instruction target area 74 and on the virtual space 50 (S7 of FIG. 2).

In this way, the instruction target area 74 including the reference position 72 of the stylus 30 is set in the virtual space 50, based on the detected line-of-sight position 52, and thus, the instruction position can be displayed on the line of sight of the user U at the moment, that is, at a section closer to that intended by the user U who is about to perform writing. This further increases the input operability of the user U in an apparatus configuration in which the tablet 40 that detects the instruction position of the stylus 30 and the display panel 22 that displays the virtual space 50 are separately provided.

Particularly, when the specific operation is the “pen-down operation” for pressing the pen tip of the stylus 30 against the touch surface 41, the user U can perform the operation with a feeling of performing a normal writing operation, and a special operation is not necessary. This further improves the usability of the user U.

In addition, the instruction target area 74 may be set for each object in the virtual space 50 or for each object surface. Thus, the user U can feel as if the user U selects an object in the virtual space 50 to leave writing, and this increases the sense of reality of the simulated experience.

In addition, when the line-of-sight position 52 of last time and the line-of-sight position 52 of this time are on the same object or on the same object surface, the processor 24 may set the same reference position 72 and the same instruction target area 74 as those set last time. This facilitates reflection of the intention of the user U trying to continue writing on the same object or on the same object surface.

Conversely, when the line-of-sight position 52 of last time and the line-of-sight position 52 of this time are on different objects or on different object surfaces, the processor 24 may set a reference position 72 and an instruction target area 74 different from those set last time. This facilitates reflection of the intention of the user U changing the object or the object surface of interest.

In addition, when the instruction target area 74 is set, the processor 24 may display the virtual space 50 after switching the point of view so that the instruction target area 74 comes to the front. This facilitates the writing operation of the user U.

In addition, the stylus 30 or the tablet 40 may sequentially output the amount of movement of the stylus 30 from the moment of the reception of a predetermined operation. The processor 24 may convert the amount of movement of the stylus 30 according to a predetermined conversion rule and sequentially add the amount of movement obtained after the conversion to the coordinate values of the reference position 72 to thereby calculate the instruction position on the virtual space 50. The processor 24 calculates the instruction position on the virtual space 50, and this configuration reduces the load of arithmetic processing of the stylus 30.

[Correction of State of Stylus 30] <Problem of Basic Action>

In the basic action described above, the tablet 40 is arranged in a horizontal state, and the tablet 40 is not moved. However, the writing may not properly be displayed on the virtual space 50 when the position and the posture of the tablet 40 are changed with time.

FIG. 8 depicts a correspondence between the pen coordinate system 60 and the detection coordinate system 80. The pen coordinate system 60 on the upper side of FIG. 8 is a three-dimensional Cartesian coordinate system including an Xp-axis, a Yp-axis, and a Zp-axis and is uniquely defined by the stylus 30. On the other hand, the detection coordinate system 80 on the lower side of FIG. 8 is a three-dimensional Cartesian coordinate system including an Xd-axis, a Yd-axis, and a Zd-axis and is uniquely defined by the tablet 40. Here, a rectangular area indicated by a dashed line corresponds to an area formed by the touch surface 41.

An Xp-Yp plane is parallel to an Xd-Yd plane when the tablet 40 is arranged in an ideal state (for example, a horizontal state). That is, the stylus 30 is moved in the horizontal direction while the user U performs writing (pen move operation). However, when the tablet 40 is inclined with respect to the horizontal plane, the stylus 30 is moved along the inclined touch surface 41 (Xd-Yd plane) while the user U performs writing. That is, there is a deviation from the ideal arrangement state, and the affine transformation process executed by the wearable device 20 does not conform to the actual behavior. Therefore, the state quantity of the tablet 40 can be used to correct the state quantity of the stylus 30 and thereby solve the problem.

<Description of Correction Action>

FIG. 9 is a schematic diagram related to a correction action in which the state of the tablet 40 is taken into account. Only the main components of the wearable device 20, the stylus 30, and the tablet 40 are depicted. Hereinafter, the state quantity of the apparatus measured by the stylus 30 using the first IMU 32 will be referred to as a “first state quantity,” and the state quantity of the apparatus measured by the tablet 40 using the second IMU 46 will be referred to as a “second state quantity.”

The MCU 33 of the stylus 30 sequentially acquires the first state quantity measured by the first IMU 32 at a first cycle T1. The MCU 33 then performs control of integrating the first state quantity with the most recently acquired second state quantity and transmitting data (hereinafter, “first data”) including the detection result of the pen pressure of the pen pressure sensor 31 and the integrated state quantity to the wearable device 20. The “integration” here denotes acquisition of a relative state quantity by subtracting the second state quantity from the first state quantity or linkage of the first state quantity and the second state quantity. Hereinafter, the communication between the stylus 30 and the wearable device 20 will be referred to as “first communication.”

Meanwhile, the MCU 33 of the stylus 30 performs control of receiving data (hereinafter, referred to as “second data”) including the second state quantity from the tablet 40. The second state quantity is sequentially measured by the second IMU 46 of the tablet 40 at a second cycle T2. Hereinafter, the communication between the stylus 30 and the tablet 40 will be referred to as “second communication.” A relay communication function provided according to a communication standard, such as Bluetooth (registered trademark), is used to transmit and receive the second state quantity.

The stylus 30 on the writing side is frequently moved by the user U, and the time variation of the state is thus relatively large. On the other hand, the tablet 40 on the written side is hardly moved by the user U, and the time variation of the state is thus relatively small. That is, the advantageous effect of the correction can sufficiently be obtained even if the update frequency of the second state quantity is low. Thus, the execution frequency of the second communication can relatively be lower than the execution frequency of the first communication. This can reduce the number of times of communication, and as a result, the power consumption can be saved.

Specifically, the number of times of communication per unit time may be set to N:1 (N is an integer equal to or greater than 2) when the first communication and the second communication are synchronously performed. Alternatively, the execution cycles T1 and T2 of the first communication and second communication may be set to satisfy a relation of T1<T2 when the first communication and the second communication are asynchronously performed.

The processor 24 of the wearable device 20 uses the corrected state quantity to calculate the instruction position on the virtual space 50. When the processor 24 acquires the first data including the relative state quantity, the processor 24 uses the relative state quantity as it is, to calculate the instruction position. On the other hand, when the processor 24 acquires the first data including the pair of first state quantity and second state quantity, the processor 24 calculates the instruction position by using the relative state quantity in which the second state quantity is subtracted from the first state quantity.

In this way, the input system 10 according to the embodiment includes the stylus 30, the tablet 40 that detects the instruction position of the stylus 30, and one or a plurality of processors 24. The stylus 30 and the tablet 40 can communicate with each other. The stylus 30 can measure the first state quantity indicating the state of the apparatus or the time variation of the state. The tablet 40 can measure the second state quantity indicating the state of the apparatus or the time variation of the state. The stylus 30 uses the second communication to receive the second data including the second state quantity from the tablet 40 and uses the first communication to transmit, to the processor 24, the first data in which the first state quantity and the second state quantity are integrated.

The integration may be calculation of the relative state quantity by subtracting the second state quantity from the first state quantity or may be linkage of the first state quantity and the second state quantity. In addition, the second communication may be communication (for example, relay communication) that is not performed with the processor 24 and uses means different from that of the first communication. In addition, the execution frequency of the second communication may be lower than the execution frequency of the first communication.

Modifications

Note that the present disclosure is not limited to the specific examples described above. That is, those skilled in the art can appropriately design and change the specific examples, and the changed examples are included in the scope of the present disclosure as long as the changed examples have the features of the present disclosure. In addition, the elements included in the embodiment and modifications described later can be combined if technically possible, and the combinations are also included in the scope of the present disclosure as long as the combinations have the features of the present disclosure.

Although the wearable device 20 uses the virtual reality (VR) technique to display the virtual reality space in the example described in the embodiment, the augmented reality (AR) technique or the mixed reality (MR) technique may be used to display the image of the space, instead of using the virtual reality (VR) technique. For example, in the case of the AR technique, various types of information regarding the objects in the real space can be acquired, and then the area definition table illustrated in FIG. 4 can be created in advance.

Although the processor 24 is triggered by the pen-down operation to set the instruction target area 74 in the embodiment, the processor 24 may be triggered by other operations, such as an operation of a side switch included in the stylus 30. Further, although the processor 24 is triggered by the pen-down operation and the pen-up operation to control the display by switching the point of view of the virtual space 50 in the embodiment, the processor 24 may control the display without switching the point of view instead. 

What is claimed is:
 1. An input system comprising: an instruction device; a detection device which, in operation, detects an instruction position of the instruction device; a display device provided separately from the detection device, wherein the display device, in operation, displays an image of a space; a position detector which, in operation, detects, in the space, a line-of-sight position in a line-of-sight of the position detector; and a processor; and a memory storing instructions, which when executed by the processor, cause the processor to: set, in the space, an instruction target area including a reference position of the instruction device, based on the line-of-sight position detected by the position detector at a time of reception of a predetermined operation by the instruction device, and control the display device to display the instruction position of the instruction device in the instruction target area and on the image of the space.
 2. The input system according to claim 1, wherein: the instruction target area is settable for each of a plurality of objects in the space or for each of a plurality of object surfaces in the space.
 3. The input system according to claim 1, wherein, in response to determining that a line-of-sight position detected by the position detector at a first time and a line-of-sight position detected by the position detector at a second time are on a same object or on a same object surface, the processor sets the instruction target area based on the line-of-sight position detected by the position detector at the second time that is same as the instruction target area set based on the line-of-sight position detected by the position detector at the first time.
 4. The input system according to claim 1, wherein, in response to determining that a line-of-sight position detected by the position detector at a first time and a line-of-sight position detected by the position detector at a second time are on different objects or on different object surfaces, the processor sets the instruction target area based on the line-of-sight position detected by the position detector at the second time that is different from the instruction target area set based on the line-of-sight position detected by the position detector at the first time.
 5. The input system according to claim 1, wherein: the space is a virtual reality space, and, when the instruction target area is set, the processor displays an image of the virtual reality space after switching a point of view so that the instruction target area comes to a front of a display area displayed the display device.
 6. The input system according to claim 1, wherein: the instruction device or the detection device sequentially outputs an amount of movement of the instruction device in response to reception of the predetermined operation, and the instructions, when executed by the processor, cause the processor to convert the amount of movement of the instruction device according to a predetermined conversion rule and sequentially add the amount of movement obtained after conversion to a coordinate value of the reference position to calculate the instruction position in the space.
 7. The input system according to claim 1, wherein: the instruction device and the detection device, in operation, communicate with each other, the instruction device, in operation, measures a first state quantity indicating a first state of a first apparatus including the instruction device, or time variation of the first state, the detection device, in operation, measures a second state quantity indicating a second state of a second apparatus including the detection device, or time variation of the second state, and the instruction device, in operation, receives, from the detection device, second data including the second state quantity and transmits, to the processor, first data in which the first state quantity and the second state quantity are integrated.
 8. The input system according to claim 7, wherein: the instruction device integrates the first state quantity and the second state quantity by calculating a relative state quantity by subtracting the second state quantity from the first state quantity or linkage of the first state quantity and the second state quantity.
 9. The input system according to claim 8, wherein: the instruction device, in operation, receives the second data without communicating with the processor, and the instruction device, in operation, receives the second data and transmits the first data using different of communication means.
 10. The input system according to claim 9, wherein: the instruction device receives the second data by relay communication.
 11. The input system according to claim 10, wherein: a frequency at which the instruction device receives the second data is lower than a frequency at which the instruction device transmits the first data.
 12. An input method in an input system including an instruction device, a detection device that detects an instruction position of the instruction device, a display device that is provided separately from the detection device and that displays an image of a space, and a position detector that detects, in the space, a line-of-sight position in a line-of-sight of the position detector, the input method comprising: setting, by one or more processors, in the space, an instruction target area including a reference position of the instruction device, based on the line-of-sight position detected by the position detector at a time of reception of a predetermined operation by the instruction device; and controlling, by the one or more processors, the display device to display the instruction position of the instruction device in the instruction target area and on the image of the space.
 13. The input method according to claim 12, further comprising: setting the instruction target area for each of a plurality of objects in the space or for each of a plurality of object surfaces.
 14. The input method according to claim 12, further comprising: setting the instruction target area based on a line-of-sight position detected by the position detector at a first time; and in response to determining that the line-of-sight position detected by the position detector at the first time and a line-of-sight position detected by the position detector at a second time are on a same object or on a same object surface, setting the instruction target area based on the line-of-sight position detected by the position detector at the second time that is same as the instruction target area set based on the line-of-sight position detected by the position detector at the first time.
 15. The input method according to claim 12, further comprising: setting the instruction target area based on a line-of-sight position detected by the position detector at a first time; and in response to determining that the line-of-sight position detected by the position detector at the first time and a line-of-sight position detected by the position detector at a second time are on different objects or on different object surfaces, setting a second instruction target area based on the line-of-sight position detected by the position detector at the second time that is different from the instruction target area set based on the line-of-sight position detected by the position detector at the first time.
 16. The input method according to claim 12, wherein: the space is a virtual reality space, and, the method further comprises, when the instruction target area is set, displaying the virtual reality space after switching a point of view so that the instruction target area comes to a front of a display area displayed the display device.
 17. The input method according to claim 12, further comprising: sequentially outputting, by the instruction device or the detection device, an amount of movement of the instruction device in response to reception of the predetermined operation, and converting the amount of movement of the instruction device according to a predetermined conversion rule; sequentially adding the amount of movement obtained after conversion to a coordinate value of the reference position to calculate the instruction position in the space.
 18. The input method according to claim 12, further comprising: measuring, by the instruction device, a first state quantity indicating a first state of a first apparatus including the instruction device, or time variation of the first state; measuring, by the detection device, a second state quantity indicating a second state of a second apparatus including the detection device, or time variation of the second state; receiving, by the instruction device from the detection device, second data including the second state quantity; and transmitting, by the instruction device, first data in which the first state quantity and the second state quantity are integrated.
 19. The input method according to claim 18, further comprising: integrating, by the instruction device, the first state quantity and the second state quantity using a relative state quantity calculated by subtracting the second state quantity from the first state quantity or linkage of the first state quantity and the second state quantity.
 20. The input method according to claim 18, wherein: a frequency at which the instruction device receives the second data is lower than a frequency at which the instruction device transmits the first data. 